package com.GlobalPaint.app.Base;

/**
 * Created by Administrator on 2016/6/13.
 */
public class AppConfig {
    public static Boolean bIsLogin = false;    //是否已经登录
    public static String sUserName = "";       //用户名
    public static String sPassword = "";       //密码
    public static String sUserID = "";         //用户ID
    public static String sUserRealName = "";   //用户真实姓名ff
    //外网配置
    //服务器地址远程(Linux)
    public static String JsonUrl="http://211.159.154.197:18080";

    public static String sCookie="";
    public static String sCookie_Live="";
    public static String IMAGE_CACHE_PATH = "imageloader/Cache"; // 图片缓存路径

    //cookie临时变量
    public static String sCurrentCookie="";
    public static String cookieName="_instafilk_un_";
    // 定义db文件的绝对路径
    public static String getDatabaseDirectory() {
//		return android.os.Environment.getExternalStorageDirectory().getAbsolutePath();
        return "/data/data/com.administrator.xiangmu/databases/";
    }
    public static String getDatabaseFile() {
        return getDatabaseDirectory() + "/database.db";
    }
}
